package com.ailot.cloud.upms.api.datasource;

import com.ailot.cloud.base.common.constants.CommonConstant;

/**
 * @Author : litao
 * @create 2023/12/7 10:40
 */
public interface DataSourceConstant {

    /**
     * 默认数据库
     */
    String DB_DEFAULT = "master";

    String DB_QUERY = "select * from " + CommonConstant.UPMS_DATABASE + ".sys_datasource";

    String DB_NAME = "name";

    /**
     * jdbcurl
     */
    String DB_URL = "url";

    /**
     * 用户名
     */
    String DB_USERNAME = "username";

    /**
     * 密码
     */
    String DB_PASSWORD = "password";

    /**
     * 字段类型映射key
     */
    String FIELD_TYPE = "field_type";

    /**
     * 主键标记
     */
    String PRI = "PRI";
}
